 
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="${(rc.contextPath)!}/static/js/jquery.js"></script>
    <script src="${(rc.contextPath)!}/static/js/jquery-1.8.3.min.js"></script>
    <script src="${(rc.contextPath)!}/static/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="${(rc.contextPath)!}/static/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="${(rc.contextPath)!}/static/js/jquery.scrollTo.min.js"></script>
    <script src="${(rc.contextPath)!}/static/js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="${(rc.contextPath)!}/static/js/jquery.sparkline.js" type="text/javascript"></script>
    <script src="${(rc.contextPath)!}/static/assets/jquery-easy-pie-chart/jquery.easy-pie-chart.js"></script>
    <script src="${(rc.contextPath)!}/static/js/owl.carousel.js" ></script>
    <script src="${(rc.contextPath)!}/static/js/jquery.customSelect.min.js" ></script>
    <script src="${(rc.contextPath)!}/static/js/respond.min.js" ></script>
    <script class="include" type="text/javascript" src="${(rc.contextPath)!}/static/js/jquery.dcjqaccordion.2.7.js"></script>
    
    <script src="${(rc.contextPath)!}/static/assets/bootstrap-fileupload/bootstrap-fileupload.js" ></script>
    
    <script src="${(rc.contextPath)!}/static/assets/jcrop/js/jquery.color.js"></script>
    <script src="${(rc.contextPath)!}/static/assets/jcrop/js/jquery.Jcrop.min.js"></script>
    
    <!--common script for all pages-->
    <script src="${(rc.contextPath)!}/static/js/common-scripts.js"></script>
    <!--script for this page-->
    <script src="${(rc.contextPath)!}/static/js/sparkline-chart.js"></script>
    <script src="${(rc.contextPath)!}/static/js/easy-pie-chart.js"></script>
	
	<!-- my js -->
	<script type="text/javascript" src="${(rc.contextPath)!}/static/res/js/comm/comm_fun.js"></script>
	<script type="text/javascript" src="${(rc.contextPath)!}/static/res/js/comm/comm_validate.js"></script>
	<script type="text/javascript" src="${(rc.contextPath)!}/static/res/js/comm/comm_file.js"></script>
  <script>

      //owl carousel

      $(document).ready(function() {
          $("#owl-demo").owlCarousel({
              navigation : true,
              slideSpeed : 300,
              paginationSpeed : 400,
              singleItem : true

          });
      });

      //custom select box

      $(function(){
          $('select.styled').customSelect();
      });
      
      //分页，点击页码，跳转
      function redirectForPage(url,pageSize,curPageNo,totalPage,queryForm){
      
      	  var formDom   = $("<form action='"+url+"' method='post'></form>");
      	  var pageSize  = $("<input  type='text' name='pageSize' value='"+pageSize+"'/>");
      	  var curPageNo = $("<input  type='text' name='curPageNo' value='"+curPageNo+"'/>");
      	  
      	  formDom.append(pageSize);
      	  formDom.append(curPageNo);
      	  
      	  if(queryForm!=null || queryForm!=""){
      	  	  var queryFormDom = $("#"+queryForm);
      	  	  if(queryFormDom == null || queryFormDom.length<=0){
      	  	  	  queryFormDom = $("form[name='"+(queryForm)+"']");
      	  	  }
      	  	  
      	  	  if(queryFormDom == null || queryFormDom.length<=0){
      	  	  	  alert("查询条件表单【"+queryForm+"】为空！");
      	  	  	  return;
      	  	  }
      	  	  
      	      var queryFormChildren = queryFormDom.children();
      	      
      	      if(queryFormChildren!=null && queryFormChildren.length>0){
      	      	  var queryFormChildrenClone = queryFormChildren.clone();
      	      	  formDom.append(queryFormChildrenClone);
      	      }
      	  }
      	  
      	  formDom.addClass({"display":"none"});
      	  
      	  $("body").append(formDom);
      	  
      	  formDom.submit();
      	   
      	  formDom.remove();
      }

  </script>

  </body>
</html>
